import React from "react";
import "./index.css"; // 将样式文件导入

const Navigation = () => {
  const navItems = ['首页','关于我们','服务','案列','用户反馈']
  return (
    <div className="container">
      <ul className="navList">
        {
          navItems.map((item,index)=> (
            <li key={index} className="navItem">
              <div>{item}</div>
              <div>{item}</div>
            </li>
          ))
        }
      </ul>
      <div className="text">
        {/* 显示3D效果 */}
        <p contentEditable={true}>3D导航栏效果</p>
      </div>
    </div>
  );
};

export default Navigation;
